.footer-section {
  position: relative;
  width: 100%;
  height: 120px;
  min-height: 120px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(9, 9, 9, 1) 50%,
    rgba(9, 9, 9, 0.85) 65%,
    rgba(9, 9, 9, 0.45) 82%,
    rgba(0, 0, 0, 0) 100%
  );
}

.footer-waves-blured {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  opacity: 0.1;
  mix-blend-mode: screen;
  transform: scaleX(1.2) rotate(180deg);
  transform-origin: center center;
  filter: blur(0.2px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 12%, #000 34%, #000 100%);
  mask-image: linear-gradient(to top, transparent 0%, transparent 12%, #000 34%, #000 100%);
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6px 40px 34px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 24px;  
  /* outline: 1px solid rgb(60, 255, 0); */
}

.footer-content-lines {
  position: absolute;
  z-index: -1;
  bottom: 10px;
  left: -10px;
  width: calc(100vw + 20px);
  height: 18px;
  overflow: hidden;
}
/* Force the footer lines to span the full parent width and stay left-aligned */
.footer-content-lines {
  max-width: calc(100vw + 20px);
  margin-left: 0;
  margin-right: 0;
  height: 38px;
}

.footer-content-lines svg,
.footer-content-lines img {
  display: block;
  width: calc(100vw + 20px);
  height: 38px;
  max-height: 38px;
  object-fit: cover;
}



.footer-content-text {
  /* outline: 1px solid rgb(60, 255, 0); */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
}

.footer-content-text p {
  margin: 0;
  font-weight: 400;
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  color: #8D8D8D;
  line-height: 1;
}

.footer-content-socials {
  display: flex;
  gap: 20px;
  /* outline: 1px solid rgb(60, 255, 0); */
  align-self: center;
}

.footer-content-socials div {
  outline: 1px solid rgb(255, 0, 255);
}

.socials-youtube {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.socials-youtube svg {
  display: block;
  margin: 0 auto;
}
/* Responsive footer row layout */
.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 56px);
  width: 100%;
  min-width: 0;
}

.footer-content > :first-child,
.footer-content > :nth-child(2),
.footer-content > :last-child {
  min-width: 0;
}

.footer-content > :first-child {
  flex: 0 0 auto;
}

.footer-content > :nth-child(2) {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content > :last-child {
  flex: 0 0 auto;
}

.footer-content nav,
.footer-content .footer-nav,
.footer-content .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 15px 0 0 0 ;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 30px);
  /* outline: 1px solid rgb(255, 0, 255); */
}

.footer-content nav > *,
.footer-content .footer-nav > *,
.footer-content .nav > * {
  flex: 0 0 auto;
}

.footer-content nav a,
.footer-content .footer-nav a,
.footer-content .nav a,
.footer-content nav h2,
.footer-content .footer-nav h2,
.footer-content .nav h2 {
  font-size: 22px;
  line-height: 1;
  margin: 0;
}

.footer-content ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
/* Footer nav typography */
.footer-content nav a,
.footer-content .footer-nav a,
.footer-content .nav a,
.footer-content nav h2,
.footer-content .footer-nav h2,
.footer-content .nav h2 {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* Footer nav real structure override */
.footer-content-nav,
.footer-content-nav a,
.footer-content-nav h2 {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.footer-content-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  flex-wrap: nowrap;
}

.footer-content-nav > * {
  flex: 0 0 auto;
  min-width: 0;
}

/* Ensure footer nav receives pointer events even if other layers exist */
.footer-section,
.footer-content,
.footer-content-nav,
.footer-content-nav a {
  pointer-events: auto;
}

